package com.baomidou.ant.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author jobob
 * @since 2021-03-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class PvpRecord implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    @TableId(value = "id",type= IdType.AUTO)
    private Integer id;
    /**
     * 用户id
     */
    private Integer userId;
    /**
     * pk场数
     */
    private Integer total;

    /**
     * 胜场
     */
    private Integer win;

    /**
     * 败场
     */
    private Integer fail;

    /**
     * 平局
     */
    private Integer draw;

    /**
     * 胜点
     */
    private Integer winning;


}
